package 函数式编程.imooc函数思想

object ValueType {
  def main(args: Array[String]): Unit = {
    //数据类型

    /**
     * byte 1个字节
     */
    val byte: Byte = 10

    /**
     * char 2个字节
     */
    val char: Char = 20

    /**
     * Int 4个字节
     */
    val int: Int = 30

    /**
     * long 8个字节
     */
    val long: Long = 40

    /**
     * float 4个字节
     */
    val float: Float = 30

    /**
     * double 8个字节
     */
    val double: Double = 30.0

    val myName = "wzy"
    val value = s"my name is $myName"
    println(value)
  }

}
